package com.mall.db.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hsp
 * @since 2021-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_address")
public class Address extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 收件人名称
     */
    private String name;

    /**
     * 收货人手机号
     */
    private String phone;

    /**
     * 区域地址
     */
    private String aAddress;

    /**
     * 详细地址
     */
    private String dAddress;

    /**
     * 默认
     */
    private String aDefault;

    private Date createTime;


}
